package com.xing.service;

import com.xing.core.BaseService;
import com.xing.dto.ChatHistoryDTO;
import com.xing.dto.ChatUserDTO;
import com.xing.entity.ChatHistoryEntity;

import java.util.List;

/**
 * @version 1.0
 * @Author Xing
 * @Date 2024/4/23 14:46
 */
public interface ChatHistoryService extends BaseService<ChatHistoryEntity> {
    List<ChatHistoryDTO> getChatHistory(Long attentionedId,Integer limit);

    List<ChatUserDTO> getChatUser();
}
